package utils

import (
	"fmt"
	"math/rand"
	"strconv"
)

func Code() int {
	code := ""
	for i := 1; i <= 4; i++ {
		code += fmt.Sprintf("%d", rand.Intn(1000))
	}
	codeInt, _ := strconv.Atoi(code)
	return codeInt
}
